package com.google.code.head2head.gwtmodules.client;

import com.google.gwt.user.client.ui.DisclosurePanel;

public class DisclosureTwoImagePanel extends TwoImagesPanel {

	public DisclosureTwoImagePanel(String pathImage1, String pathImage2) {

		super(pathImage1, pathImage2);
		DisclosurePanel dp = new DisclosurePanel("First image", true);
		dp.add(getImage1());

		DisclosurePanel dp2 = new DisclosurePanel("Second image", true);
		dp2.add(getImage2());

		this.add(dp);
		this.add(dp2);
	}

}
